
import java.awt.geom.*;
/**
 HIT3687 Assignment (labelled Stage) : MapLabel represents one
 label to appear on the map.  It has text, a position (lonlat in degrees)
  and height (degrees).
 @version 1.1 2005/07/23
 @author Dr Rob Allen, Swinburne University of Technology
 */
public class MapLabel
{
    String name;
    Point2D.Double refPoint;
    double nameHeight;
    
    MapLabel()
    { }
    MapLabel(String name, Point2D.Double refPoint, double htDeg)
    {
        this.name = name;
        this.refPoint = refPoint;
        nameHeight = htDeg;
    }
    public double getNameHeight() {
        return  nameHeight;  
    }

    public Point2D.Double getRefPoint() {
        return  refPoint;
    }

    public String getName() {
        return name;
    }
}